import {DataOpt} from "./DataOption";

export interface ActionRequestOption{
    index : number;
    action_option : ActionRequest_Option | ActionRequestListOption | ActionThenGetRequestNormalListOption
}

export interface ActionRequest_Option{
    piid : String;
    omd : String;
    data : DataOpt;
}

export interface ActionRequestListOption{
    piid : String;
    seqOfOmd : Array<String>
    seqOfData? : Array<DataOpt>;
}

export interface ActionThenGetRequestNormalListOption{
    piid : String;
    seqOfActionThenGetDataOption : Array<ActionThenGetDataOption>;
}

export interface ActionThenGetDataOption{
    omd : String;
    data : DataOpt;
    oad : String;
    delayTime : number;
}


